#求1到100的和
sum = 0
a = 1
while(a <=100):
    sum = sum + a
    a = a + 1
print(sum)


#无限循环
while(a==1):
    print('无限循环钟！！')


#while使用else语句
count = 0 
while count < 5:
    print(str(count),'<5')
    count = count + 1
else:
    print(str(count)+'=5')